package com.jprocms.module.cms.controller.admin.sitetpl.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.jpro.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 站点各个发布平台的首页和列表默认模板 Excel 导出 Request VO")
@Data
public class SiteTplExportReqVO {

    @Schema(description = "站点ID")
    private Long siteId;

    @Schema(description = "发布平台ID")
    private Integer platformId;

    @Schema(description = "列表页面模板")
    private String defListTpl;

    @Schema(description = "首页模板")
    private String indexTpl;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
